Skip to content

Release 0.3.3 — wisdom --version + stale-install self-check - #4

Merged
cklam12345 merged 1 commit into
mainfrom
release/0.3.3
Jul 11, 2026
Merged

Release 0.3.3 — wisdom --version + stale-install self-check#4
cklam12345 merged 1 commit into
mainfrom
release/0.3.3

Conversation

@cklam12345

Copy link
Copy Markdown
Owner

0.3.3 — version reporting & stale-install detection

Follow-up to the 0.3.2 QA work. During 0.3.2 testing we discovered this machine's wisdom console script was silently running a stale 0.2.0 install while the repo was newer — a trap with no visible symptom. This release makes that detectable.

  • wisdom --version / -V / version — prints the version baked into the running code (_CODE_VERSION), independent of whatever distribution metadata resolves on sys.path.
  • Stale-install warning — when the running code and the installed wisdomgraph distribution disagree, a one-line warning points at pip install -U wisdomgraph. Written to stderr, and skipped for the mcp command so it never touches the JSON-RPC stdio stream.
  • Drift guard — a test asserts _CODE_VERSION matches pyproject.toml, so the code version and package version can't silently diverge.

Testing

  • 139 unit tests pass (134 + 5 new).
  • Verified live: wisdom --version prints wisdomgraph 0.3.3; the mismatch warning fires correctly against the older installed metadata and stays silent when versions match.

🤖 Generated with Claude Code

Adds a `--version`/`-V`/`version` command that prints the version baked
into the running code (_CODE_VERSION), independent of whatever distribution
metadata resolves on sys.path.

Also warns when the running code and the installed wisdomgraph distribution
disagree — the "wisdom on PATH is an old shim" trap we hit during 0.3.2
testing, where the console script ran 0.2.0 while the repo was newer. The
warning goes to stderr and is skipped for the `mcp` command so it never
touches the JSON-RPC stdio stream.

A test asserts _CODE_VERSION matches pyproject.toml so the two can't drift.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cklam12345
cklam12345 merged commit 1aab27b into main Jul 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant